package com.ruoyi.eam.doman;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 资产记录2对象 eam_manage_h
 * 
 * @author ruoyi
 * @date 2024-06-24
 */
public class EamManageH extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资产记录id */
    private Long manageId;

    private Long usePerson;

    public Long getUsePerson() {
        return usePerson;
    }

    private Long isdel;

    public Long getIsdel() {
        return isdel;
    }

    public void setIsdel(Long isdel) {
        this.isdel = isdel;
    }

    public void setUsePerson(Long usePerson) {
        this.usePerson = usePerson;
    }

    private String assetCodeRule;

    public String getAssetCodeRule() {
        return assetCodeRule;
    }

    public void setAssetCodeRule(String assetCodeRule) {
        this.assetCodeRule = assetCodeRule;
    }

    private EamManageD eamManageD;

    private EamLocation eamLocation;

    private User user;

    private EamAsset eamAsset;

    private Dept dept;

    private EamType eamType;

    public EamType getEamType() {
        return eamType;
    }

    public void setEamType(EamType eamType) {
        this.eamType = eamType;
    }

    public Dept getDept() {
        return dept;
    }


    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public EamManageD getEamManageD() {
        return eamManageD;
    }

    public void setEamManageD(EamManageD eamManageD) {
        this.eamManageD = eamManageD;
    }

    public EamLocation getEamLocation() {
        return eamLocation;
    }

    public void setEamLocation(EamLocation eamLocation) {
        this.eamLocation = eamLocation;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public EamAsset getEamAsset() {
        return eamAsset;
    }

    public void setEamAsset(EamAsset eamAsset) {
        this.eamAsset = eamAsset;
    }

    /** 资产编号 */
    @Excel(name = "资产编号")
    private String assetCode;

    /** 制单人 */
    @Excel(name = "制单人")
    private String prepared;

    /** 制单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "制单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date preparedDate;

    /** 1.领用 2.退还 3.借用 4.归还 */
    @Excel(name = "1.领用 2.退还 3.借用 4.归还")
    private Long receiptsStatus;

    /** 1.待审核 2.已拒绝 3.已审核 */
    @Excel(name = "1.待审核 2.已拒绝 3.已审核")
    private Long auditState;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long creator;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long auditPerson1;

    /** 领用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date claimingDate;

    public void setManageId(Long manageId) 
    {
        this.manageId = manageId;
    }

    public Long getManageId() 
    {
        return manageId;
    }
    public void setAssetCode(String assetCode) 
    {
        this.assetCode = assetCode;
    }

    public String getAssetCode() 
    {
        return assetCode;
    }
    public void setPrepared(String prepared) 
    {
        this.prepared = prepared;
    }

    public String getPrepared() 
    {
        return prepared;
    }
    public void setPreparedDate(Date preparedDate) 
    {
        this.preparedDate = preparedDate;
    }

    public Date getPreparedDate() 
    {
        return preparedDate;
    }
    public void setReceiptsStatus(Long receiptsStatus) 
    {
        this.receiptsStatus = receiptsStatus;
    }

    public Long getReceiptsStatus() 
    {
        return receiptsStatus;
    }
    public void setAuditState(Long auditState) 
    {
        this.auditState = auditState;
    }

    public Long getAuditState() 
    {
        return auditState;
    }
    public void setCreator(Long creator) 
    {
        this.creator = creator;
    }

    public Long getCreator() 
    {
        return creator;
    }
    public void setAuditPerson1(Long auditPerson1) 
    {
        this.auditPerson1 = auditPerson1;
    }

    public Long getAuditPerson1() 
    {
        return auditPerson1;
    }
    public void setClaimingDate(Date claimingDate) 
    {
        this.claimingDate = claimingDate;
    }

    public Date getClaimingDate() 
    {
        return claimingDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("manageId", getManageId())
            .append("assetCode", getAssetCode())
            .append("prepared", getPrepared())
            .append("preparedDate", getPreparedDate())
            .append("remark", getRemark())
            .append("receiptsStatus", getReceiptsStatus())
            .append("auditState", getAuditState())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("auditPerson1", getAuditPerson1())
            .append("claimingDate", getClaimingDate())
            .toString();
    }
}
